package hu.bme.mit.rifl.business.preprocess.nodes;

import hu.bme.mit.rifl.datamodel.Order;
import eu.sensoria_ist.casetool.core.ext.SensoriaTool;
import eu.sensoria_ist.casetool.core.ext.SensoriaToolFunction;
import eu.sensoria_ist.casetool.core.ext.SensoriaToolFunctionParameter;
import eu.sensoria_ist.casetool.core.ext.SensoriaToolFunctionReturns;

@SensoriaTool(name="CheckRepo", description="Node for checking the repo.", categories="Preprocess")
public interface CheckRepo{	
	@SensoriaToolFunction(description="Processes the order.")
	@SensoriaToolFunctionReturns(description="The processed order.")
	public Order checkRepo(@SensoriaToolFunctionParameter(description="Order to process.") Order order, 
						 @SensoriaToolFunctionParameter(description="decision.") String decision); 
}
